<h4>MANAJEMEN SPP MAHASISWA &raquo; <span class="current_page">DAFTAR POTONGAN SPP MAHASISWA</span></h4>

            <!-- Begin three column window -->
<div class="onecolumn" style="padding-bottom:20px">
    <div class="header">
    <span>DAFTAR POTONGAN SPP MAHASISWA</span>
	</div>
	<br class="clear"/>


  <div class="content">
      <br />
      <div align="left">
      <table cellpadding="0" cellspacing="0" border="0" style="margin-left: 15px">
        <tr align="left" height="29">
            <td><b>NIM</b></td><td>:</td>
            <td style="padding-left: 10px"><?php if($biodata): ?>
                <font color="#5B9010"><b><?php echo $biodata->NIM ?></b></font><br />
            </td>
        </tr>
        <tr align="left" height="29">
            <td><b>NAMA</b></td><td>:</td>
            <td style="padding-left: 10px"><?php echo $biodata->NAMA ?></td>
        </tr>
        <tr align="left" height="29">
            <td style="padding-right: 5px"><b>PROGRAM STUDI</b></td><td>:</td>
            <td style="padding-left: 10px"><?php echo ucwords(strtolower($biodata->NAMA_PRODI)) ?></td>
        </tr>
        <tr align="left" height="29">
             <td><b>SELEKSI</b></td><td>:</td>
             <td style="padding-left: 10px"><?php echo $biodata->NAMA_PROGRAM ?> </td>
        </tr>
              <?php else: ?>
        <tr align="left" height="29">
            <td>
                <b>DATA MAHASISWA TIDAK DITEMUKAN</b>
              <?php endif; ?>
            </td>
        </tr>
        </table>
        </div><br/>
        <?php if($biodata): ?>  <!-- start if A -->
        <table class="data" width="100%" cellpadding="0" cellspacing="0">
        <thead>
        <tr>
            <th width="30" class="ttl" align="center">No.</th>
            <th width="200" class="ttl" align="center">Nama Potongan</th>
            <th width="150" class="ttl" align="center">Nominal Potongan</th>
            <th width="150" class="ttl" align="center">Jenis Tagihan</th>
            <th width="100" class="ttl" align="center">Keterangan</th>
        </tr>
        </thead>
        <tbody>
        <?php if($potongan): ?>
        <?php $urutan = 0; ?>
        <?php foreach($potongan as $pot): ?>
        <tr><?php $urutan++; ?>
            <td class="inp1" align="center"><?php echo $urutan ?></td>
            <td class="cnaN"><?php echo $pot->KETERANGAN ?></td>
            <td class="cnaN"><?php echo number_format($pot->POTONGAN,0,'','.') ?></td>
            <td class="cnaN"><?php echo $pot->DESKRIPSI ?></td>
            <td class="cnaN" align="center">
                <a href="<?php echo site_url('siku/EditPotonganSpp/'.$biodata->NIM.'/'.$pot->ID.'.do') ?>">Edit</a>&nbsp;&nbsp;.&nbsp;
                <a href="<?php echo site_url('siku/HapusPotonganSpp/'.$pot->ID.'.do') ?>" onclick="return confirm('Anda yakin ingin menghapus ?')">Hapus</a>
            </td>
        </tr>
        <?php endforeach; ?>
        <?php endif ?>
        </tbody>
      </table>
      <br/><br/>
        <?php endif; ?> <!-- endif A -->
        <div>
           <?php if($biodata): ?>
           <button onclick="self.location='<?php echo site_url('siku/TambahPotonganSpp/'.$biodata->NIM.'.do') ?>'" value="Tambah" type="button" name="tambah" class="sexybutton sexysimple sexysmall">Tambah</button>
           <?php endif; ?>
           <input type="button" class="sexybutton sexysimple sexymagenta" onclick="location='<?php echo site_url('siku/PotonganSpp.do') ?>'" value="Kembali" name="Kembali">
        </div>

      <br />
  </div>
</div>